﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Main.Master" AutoEventWireup="true" CodeFile="InventoryAdd.aspx.cs" Inherits="RestaurantManagerWebApp.Pages.StockManagement.New.InventoryAdd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2>Inventory[ADD]</h2>
    <br />
    <asp:Table ID="Table1" runat="server">
         <asp:TableRow>
              <asp:TableCell>
                  <asp:DropDownList runat="server" ID="dropCategory" DataSourceID="SqlDataSource1"></asp:DropDownList>
              </asp:TableCell>  
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>Item Name <br /> <asp:TextBox ID="txtItemName" runat="server"></asp:TextBox> </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>Quantity <br /><asp:TextBox ID="txtQty" runat="server"></asp:TextBox> </asp:TableCell>
        </asp:TableRow>
    </asp:Table>
    <br />
    <asp:Button ID="btnAdd" runat="server" OnClick="btnAdd_Click" Text="Add" />
    <br />
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:DB_RM %>" SelectCommand="SELECT [c_name] FROM [Category]"></asp:SqlDataSource>
</asp:Content>
